package com.o2opay.car.mapper;

import com.o2opay.car.common.dao.MyMapper;

import com.o2opay.car.model.EqpInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by tugou on 2018/1/15.
 */
public interface EqpInfoMapper extends MyMapper<EqpInfo> {

    /**
     * 根据信息查询终端链表
     * @param eqp
     * @return
     */
    List<EqpInfo> queryList(@Param("eqp")EqpInfo eqp);

    /**
     * 根据终端号码，获取终端信息
     * @param eqpNum
     * @return
     */
    EqpInfo queryByEqpNum(@Param("eqpNum") String eqpNum);
}
